<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>反射</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="quickhashintstringhash.update.html">« QuickHashIntStringHash::update</a></li>
      <li style="float: right;"><a href="intro.reflection.html">简介 »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="refs.basic.vartype.html">变量与类型相关扩展</a></li>
    <li>反射</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="book.reflection" class="book">
 
 <h1 class="title">反射</h1>
 

 

 









 









 









 









 






 






 




 





 





 





 






 






 






 






 






 






 






 






 






 







 






 






 




 





 






 






 






 






<ul class="chunklist chunklist_book"><li><a href="intro.reflection.html">简介</a></li><li><a href="reflection.setup.html">安装/配置</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="reflection.requirements.html">需求</a></li><li><a href="reflection.installation.html">安装</a></li><li><a href="reflection.configuration.html">运行时配置</a></li><li><a href="reflection.resources.html">资源类型</a></li></ul></li><li><a href="reflection.constants.html">预定义常量</a></li><li><a href="reflection.examples.html">范例</a></li><li><a href="reflection.extending.html">扩展</a></li><li><a href="class.reflection.html">Reflection</a> — Reflection 类<ul class="chunklist chunklist_book chunklist_children"><li><a href="reflection.export.html">Reflection::export</a> — Exports</li><li><a href="reflection.getmodifiernames.html">Reflection::getModifierNames</a> — 获取修饰符的名称</li></ul></li><li><a href="class.reflectionclass.html">ReflectionClass</a> — ReflectionClass 类<ul class="chunklist chunklist_book chunklist_children"><li><a href="reflectionclass.construct.html">ReflectionClass::__construct</a> — 初始化 ReflectionClass 类</li><li><a href="reflectionclass.export.html">ReflectionClass::export</a> — 导出一个类</li><li><a href="reflectionclass.getattributes.html">ReflectionClass::getAttributes</a> — Gets Attributes</li><li><a href="reflectionclass.getconstant.html">ReflectionClass::getConstant</a> — 获取已定义的常量</li><li><a href="reflectionclass.getconstants.html">ReflectionClass::getConstants</a> — 获取常量</li><li><a href="reflectionclass.getconstructor.html">ReflectionClass::getConstructor</a> — 获取类的构造函数</li><li><a href="reflectionclass.getdefaultproperties.html">ReflectionClass::getDefaultProperties</a> — 获取默认属性</li><li><a href="reflectionclass.getdoccomment.html">ReflectionClass::getDocComment</a> — 获取文档注释</li><li><a href="reflectionclass.getendline.html">ReflectionClass::getEndLine</a> — 获取最后一行的行数</li><li><a href="reflectionclass.getextension.html">ReflectionClass::getExtension</a> — 根据已定义的类获取所在扩展的 ReflectionExtension 对象</li><li><a href="reflectionclass.getextensionname.html">ReflectionClass::getExtensionName</a> — 获取定义的类所在的扩展的名称</li><li><a href="reflectionclass.getfilename.html">ReflectionClass::getFileName</a> — 获取定义类的文件名</li><li><a href="reflectionclass.getinterfacenames.html">ReflectionClass::getInterfaceNames</a> — 获取接口（interface）名称</li><li><a href="reflectionclass.getinterfaces.html">ReflectionClass::getInterfaces</a> — 获取接口</li><li><a href="reflectionclass.getmethod.html">ReflectionClass::getMethod</a> — 获取类方法的 ReflectionMethod</li><li><a href="reflectionclass.getmethods.html">ReflectionClass::getMethods</a> — 获取方法的数组</li><li><a href="reflectionclass.getmodifiers.html">ReflectionClass::getModifiers</a> — 获取类的修饰符</li><li><a href="reflectionclass.getname.html">ReflectionClass::getName</a> — 获取类名</li><li><a href="reflectionclass.getnamespacename.html">ReflectionClass::getNamespaceName</a> — 获取命名空间的名称</li><li><a href="reflectionclass.getparentclass.html">ReflectionClass::getParentClass</a> — 获取父类</li><li><a href="reflectionclass.getproperties.html">ReflectionClass::getProperties</a> — 获取属性</li><li><a href="reflectionclass.getproperty.html">ReflectionClass::getProperty</a> — 获取类的一个属性的 ReflectionProperty</li><li><a href="reflectionclass.getreflectionconstant.html">ReflectionClass::getReflectionConstant</a> — Gets a ReflectionClassConstant for a class's constant</li><li><a href="reflectionclass.getreflectionconstants.html">ReflectionClass::getReflectionConstants</a> — Gets class constants</li><li><a href="reflectionclass.getshortname.html">ReflectionClass::getShortName</a> — 获取短名</li><li><a href="reflectionclass.getstartline.html">ReflectionClass::getStartLine</a> — 获取起始行号</li><li><a href="reflectionclass.getstaticproperties.html">ReflectionClass::getStaticProperties</a> — 获取静态（static）属性</li><li><a href="reflectionclass.getstaticpropertyvalue.html">ReflectionClass::getStaticPropertyValue</a> — 获取静态（static）属性的值</li><li><a href="reflectionclass.gettraitaliases.html">ReflectionClass::getTraitAliases</a> — 返回 trait 别名数组</li><li><a href="reflectionclass.gettraitnames.html">ReflectionClass::getTraitNames</a> — 返回这个类所使用 traits 的名称的数组</li><li><a href="reflectionclass.gettraits.html">ReflectionClass::getTraits</a> — 返回这个类所使用的 traits 数组</li><li><a href="reflectionclass.hasconstant.html">ReflectionClass::hasConstant</a> — 检查常量是否已经定义</li><li><a href="reflectionclass.hasmethod.html">ReflectionClass::hasMethod</a> — 检查方法是否已定义</li><li><a href="reflectionclass.hasproperty.html">ReflectionClass::hasProperty</a> — 检查属性是否已定义</li><li><a href="reflectionclass.implementsinterface.html">ReflectionClass::implementsInterface</a> — 实现接口</li><li><a href="reflectionclass.innamespace.html">ReflectionClass::inNamespace</a> — 检查是否位于命名空间中</li><li><a href="reflectionclass.isabstract.html">ReflectionClass::isAbstract</a> — 检查类是否是抽象类（abstract）</li><li><a href="reflectionclass.isanonymous.html">ReflectionClass::isAnonymous</a> — 检查类是否是匿名类</li><li><a href="reflectionclass.iscloneable.html">ReflectionClass::isCloneable</a> — 返回了一个类是否可复制</li><li><a href="reflectionclass.isenum.html">ReflectionClass::isEnum</a> — Returns whether this is an enum</li><li><a href="reflectionclass.isfinal.html">ReflectionClass::isFinal</a> — 检查类是否声明为 final</li><li><a href="reflectionclass.isinstance.html">ReflectionClass::isInstance</a> — 检查类的实例</li><li><a href="reflectionclass.isinstantiable.html">ReflectionClass::isInstantiable</a> — 检查类是否可实例化</li><li><a href="reflectionclass.isinterface.html">ReflectionClass::isInterface</a> — 检查类是否是一个接口（interface）</li><li><a href="reflectionclass.isinternal.html">ReflectionClass::isInternal</a> — 检查类是否由扩展或核心在内部定义</li><li><a href="reflectionclass.isiterable.html">ReflectionClass::isIterable</a> — Check whether this class is iterable</li><li><a href="reflectionclass.isiterateable.html">ReflectionClass::isIterateable</a> — 别名 ReflectionClass::isIterable</li><li><a href="reflectionclass.isreadonly.html">ReflectionClass::isReadOnly</a> — Checks if class is readonly</li><li><a href="reflectionclass.issubclassof.html">ReflectionClass::isSubclassOf</a> — 检查是否为子类</li><li><a href="reflectionclass.istrait.html">ReflectionClass::isTrait</a> — 返回了是否是 trait</li><li><a href="reflectionclass.isuserdefined.html">ReflectionClass::isUserDefined</a> — 检查是否由用户定义的</li><li><a href="reflectionclass.newinstance.html">ReflectionClass::newInstance</a> — 从指定的参数创建新类实例</li><li><a href="reflectionclass.newinstanceargs.html">ReflectionClass::newInstanceArgs</a> — 从给出的参数创建一个新的类实例</li><li><a href="reflectionclass.newinstancewithoutconstructor.html">ReflectionClass::newInstanceWithoutConstructor</a> — 创建新的类实例而不调用它的构造函数</li><li><a href="reflectionclass.setstaticpropertyvalue.html">ReflectionClass::setStaticPropertyValue</a> — 设置静态属性的值</li><li><a href="reflectionclass.tostring.html">ReflectionClass::__toString</a> — 返回 ReflectionClass 对象字符串的表示形式</li></ul></li><li><a href="class.reflectionclassconstant.html">ReflectionClassConstant</a> — The ReflectionClassConstant class<ul class="chunklist chunklist_book chunklist_children"><li><a href="reflectionclassconstant.construct.html">ReflectionClassConstant::__construct</a> — Constructs a ReflectionClassConstant</li><li><a href="reflectionclassconstant.export.html">ReflectionClassConstant::export</a> — Export</li><li><a href="reflectionclassconstant.getattributes.html">ReflectionClassConstant::getAttributes</a> — Gets Attributes</li><li><a href="reflectionclassconstant.getdeclaringclass.html">ReflectionClassConstant::getDeclaringClass</a> — Gets declaring class</li><li><a href="reflectionclassconstant.getdoccomment.html">ReflectionClassConstant::getDocComment</a> — Gets doc comments</li><li><a href="reflectionclassconstant.getmodifiers.html">ReflectionClassConstant::getModifiers</a> — Gets the class constant modifiers</li><li><a href="reflectionclassconstant.getname.html">ReflectionClassConstant::getName</a> — Get name of the constant</li><li><a href="reflectionclassconstant.getvalue.html">ReflectionClassConstant::getValue</a> — Gets value</li><li><a href="reflectionclassconstant.isenumcase.html">ReflectionClassConstant::isEnumCase</a> — Checks if class constant is an Enum case</li><li><a href="reflectionclassconstant.isfinal.html">ReflectionClassConstant::isFinal</a> — Checks if class constant is final</li><li><a href="reflectionclassconstant.isprivate.html">ReflectionClassConstant::isPrivate</a> — Checks if class constant is private</li><li><a href="reflectionclassconstant.isprotected.html">ReflectionClassConstant::isProtected</a> — Checks if class constant is protected</li><li><a href="reflectionclassconstant.ispublic.html">ReflectionClassConstant::isPublic</a> — Checks if class constant is public</li><li><a href="reflectionclassconstant.tostring.html">ReflectionClassConstant::__toString</a> — Returns the string representation of the ReflectionClassConstant object</li></ul></li><li><a href="class.reflectionenum.html">ReflectionEnum</a> — ReflectionEnum 类<ul class="chunklist chunklist_book chunklist_children"><li><a href="reflectionenum.construct.html">ReflectionEnum::__construct</a> — 实例化 ReflectionEnum 对象</li><li><a href="reflectionenum.getbackingtype.html">ReflectionEnum::getBackingType</a> — 获取枚举回退的类型</li><li><a href="reflectionenum.getcase.html">ReflectionEnum::getCase</a> — 返回指定的枚举条目</li><li><a href="reflectionenum.getcases.html">ReflectionEnum::getCases</a> — 返回枚举中的所有条目的清单</li><li><a href="reflectionenum.hascase.html">ReflectionEnum::hasCase</a> — 在枚举上检测条目</li><li><a href="reflectionenum.isbacked.html">ReflectionEnum::isBacked</a> — 检测 Enum 是否为回退（Backed）Enum</li></ul></li><li><a href="class.reflectionenumunitcase.html">ReflectionEnumUnitCase</a> — ReflectionEnumUnitCase 类<ul class="chunklist chunklist_book chunklist_children"><li><a href="reflectionenumunitcase.construct.html">ReflectionEnumUnitCase::__construct</a> — Instantiates a ReflectionEnumUnitCase object</li><li><a href="reflectionenumunitcase.getenum.html">ReflectionEnumUnitCase::getEnum</a> — 获取该枚举条目的反射</li><li><a href="reflectionenumunitcase.getvalue.html">ReflectionEnumUnitCase::getValue</a> — 获取反射对象描述的枚举条目对象</li></ul></li><li><a href="class.reflectionenumbackedcase.html">ReflectionEnumBackedCase</a> — ReflectionEnumBackedCase 类<ul class="chunklist chunklist_book chunklist_children"><li><a href="reflectionenumbackedcase.construct.html">ReflectionEnumBackedCase::__construct</a> — Instantiates a ReflectionEnumBackedCase object</li><li><a href="reflectionenumbackedcase.getbackingvalue.html">ReflectionEnumBackedCase::getBackingValue</a> — 获取枚举条目回退的标量值</li></ul></li><li><a href="class.reflectionzendextension.html">ReflectionZendExtension</a> — ReflectionZendExtension 类<ul class="chunklist chunklist_book chunklist_children"><li><a href="reflectionzendextension.clone.html">ReflectionZendExtension::__clone</a> — Clone handler</li><li><a href="reflectionzendextension.construct.html">ReflectionZendExtension::__construct</a> — Constructor</li><li><a href="reflectionzendextension.export.html">ReflectionZendExtension::export</a> — Export</li><li><a href="reflectionzendextension.getauthor.html">ReflectionZendExtension::getAuthor</a> — Gets author</li><li><a href="reflectionzendextension.getcopyright.html">ReflectionZendExtension::getCopyright</a> — Gets copyright</li><li><a href="reflectionzendextension.getname.html">ReflectionZendExtension::getName</a> — Gets name</li><li><a href="reflectionzendextension.geturl.html">ReflectionZendExtension::getURL</a> — Gets URL</li><li><a href="reflectionzendextension.getversion.html">ReflectionZendExtension::getVersion</a> — Gets version</li><li><a href="reflectionzendextension.tostring.html">ReflectionZendExtension::__toString</a> — To string handler</li></ul></li><li><a href="class.reflectionextension.html">ReflectionExtension</a> — ReflectionExtension 类<ul class="chunklist chunklist_book chunklist_children"><li><a href="reflectionextension.clone.html">ReflectionExtension::__clone</a> — 克隆</li><li><a href="reflectionextension.construct.html">ReflectionExtension::__construct</a> — 构造 ReflectionExtension</li><li><a href="reflectionextension.export.html">ReflectionExtension::export</a> — Export</li><li><a href="reflectionextension.getclasses.html">ReflectionExtension::getClasses</a> — 获取类列表</li><li><a href="reflectionextension.getclassnames.html">ReflectionExtension::getClassNames</a> — 获取类名列表</li><li><a href="reflectionextension.getconstants.html">ReflectionExtension::getConstants</a> — 获取常量</li><li><a href="reflectionextension.getdependencies.html">ReflectionExtension::getDependencies</a> — 获取依赖</li><li><a href="reflectionextension.getfunctions.html">ReflectionExtension::getFunctions</a> — 获取扩展中的函数</li><li><a href="reflectionextension.getinientries.html">ReflectionExtension::getINIEntries</a> — 获取ini配置</li><li><a href="reflectionextension.getname.html">ReflectionExtension::getName</a> — 获取扩展名称</li><li><a href="reflectionextension.getversion.html">ReflectionExtension::getVersion</a> — 获取扩展版本</li><li><a href="reflectionextension.info.html">ReflectionExtension::info</a> — 输出扩展信息</li><li><a href="reflectionextension.ispersistent.html">ReflectionExtension::isPersistent</a> — 返回扩展是否持久化载入</li><li><a href="reflectionextension.istemporary.html">ReflectionExtension::isTemporary</a> — 返回扩展是否是临时载入</li><li><a href="reflectionextension.tostring.html">ReflectionExtension::__toString</a> — To string</li></ul></li><li><a href="class.reflectionfunction.html">ReflectionFunction</a> — ReflectionFunction 类<ul class="chunklist chunklist_book chunklist_children"><li><a href="reflectionfunction.construct.html">ReflectionFunction::__construct</a> — Constructs a ReflectionFunction object</li><li><a href="reflectionfunction.export.html">ReflectionFunction::export</a> — Exports function</li><li><a href="reflectionfunction.getclosure.html">ReflectionFunction::getClosure</a> — Returns a dynamically created closure for the function</li><li><a href="reflectionfunction.invoke.html">ReflectionFunction::invoke</a> — Invokes function</li><li><a href="reflectionfunction.invokeargs.html">ReflectionFunction::invokeArgs</a> — Invokes function args</li><li><a href="reflectionfunction.isanonymous.html">ReflectionFunction::isAnonymous</a> — Checks if a function is anonymous</li><li><a href="reflectionfunction.isdisabled.html">ReflectionFunction::isDisabled</a> — Checks if function is disabled</li><li><a href="reflectionfunction.tostring.html">ReflectionFunction::__toString</a> — To string</li></ul></li><li><a href="class.reflectionfunctionabstract.html">ReflectionFunctionAbstract</a> — ReflectionFunctionAbstract 类<ul class="chunklist chunklist_book chunklist_children"><li><a href="reflectionfunctionabstract.clone.html">ReflectionFunctionAbstract::__clone</a> — 复制函数</li><li><a href="reflectionfunctionabstract.getattributes.html">ReflectionFunctionAbstract::getAttributes</a> — Gets Attributes</li><li><a href="reflectionfunctionabstract.getclosurescopeclass.html">ReflectionFunctionAbstract::getClosureScopeClass</a> — Returns the scope associated to the closure</li><li><a href="reflectionfunctionabstract.getclosurethis.html">ReflectionFunctionAbstract::getClosureThis</a> — 返回本身的匿名函数</li><li><a href="reflectionfunctionabstract.getclosureusedvariables.html">ReflectionFunctionAbstract::getClosureUsedVariables</a> — Returns an array of the used variables in the Closure</li><li><a href="reflectionfunctionabstract.getdoccomment.html">ReflectionFunctionAbstract::getDocComment</a> — 获取注释内容</li><li><a href="reflectionfunctionabstract.getendline.html">ReflectionFunctionAbstract::getEndLine</a> — 获取结束行号</li><li><a href="reflectionfunctionabstract.getextension.html">ReflectionFunctionAbstract::getExtension</a> — 获取扩展信息</li><li><a href="reflectionfunctionabstract.getextensionname.html">ReflectionFunctionAbstract::getExtensionName</a> — 获取扩展名称</li><li><a href="reflectionfunctionabstract.getfilename.html">ReflectionFunctionAbstract::getFileName</a> — 获取文件名称</li><li><a href="reflectionfunctionabstract.getname.html">ReflectionFunctionAbstract::getName</a> — 获取函数名称</li><li><a href="reflectionfunctionabstract.getnamespacename.html">ReflectionFunctionAbstract::getNamespaceName</a> — 获取命名空间</li><li><a href="reflectionfunctionabstract.getnumberofparameters.html">ReflectionFunctionAbstract::getNumberOfParameters</a> — 获取参数数目</li><li><a href="reflectionfunctionabstract.getnumberofrequiredparameters.html">ReflectionFunctionAbstract::getNumberOfRequiredParameters</a> — 获取必须输入参数个数</li><li><a href="reflectionfunctionabstract.getparameters.html">ReflectionFunctionAbstract::getParameters</a> — 获取参数</li><li><a href="reflectionfunctionabstract.getreturntype.html">ReflectionFunctionAbstract::getReturnType</a> — Gets the specified return type of a function</li><li><a href="reflectionfunctionabstract.getshortname.html">ReflectionFunctionAbstract::getShortName</a> — 获取函数短名称</li><li><a href="reflectionfunctionabstract.getstartline.html">ReflectionFunctionAbstract::getStartLine</a> — 获取开始行号</li><li><a href="reflectionfunctionabstract.getstaticvariables.html">ReflectionFunctionAbstract::getStaticVariables</a> — 获取静态变量</li><li><a href="reflectionfunctionabstract.gettentativereturntype.html">ReflectionFunctionAbstract::getTentativeReturnType</a> — Returns the tentative return type associated with the function</li><li><a href="reflectionfunctionabstract.hasreturntype.html">ReflectionFunctionAbstract::hasReturnType</a> — Checks if the function has a specified return type</li><li><a href="reflectionfunctionabstract.hastentativereturntype.html">ReflectionFunctionAbstract::hasTentativeReturnType</a> — Returns whether the function has a tentative return type</li><li><a href="reflectionfunctionabstract.innamespace.html">ReflectionFunctionAbstract::inNamespace</a> — 检查是否处于命名空间</li><li><a href="reflectionfunctionabstract.isclosure.html">ReflectionFunctionAbstract::isClosure</a> — 检查是否是匿名函数</li><li><a href="reflectionfunctionabstract.isdeprecated.html">ReflectionFunctionAbstract::isDeprecated</a> — 检查是否已经弃用</li><li><a href="reflectionfunctionabstract.isgenerator.html">ReflectionFunctionAbstract::isGenerator</a> — 判断函数是否是一个生成器函数</li><li><a href="reflectionfunctionabstract.isinternal.html">ReflectionFunctionAbstract::isInternal</a> — 判断函数是否是内置函数</li><li><a href="reflectionfunctionabstract.isuserdefined.html">ReflectionFunctionAbstract::isUserDefined</a> — 检查是否是用户定义</li><li><a href="reflectionfunctionabstract.isvariadic.html">ReflectionFunctionAbstract::isVariadic</a> — Checks if the function is variadic</li><li><a href="reflectionfunctionabstract.returnsreference.html">ReflectionFunctionAbstract::returnsReference</a> — 检查是否返回引用</li><li><a href="reflectionfunctionabstract.tostring.html">ReflectionFunctionAbstract::__toString</a> — 字符串化</li></ul></li><li><a href="class.reflectionmethod.html">ReflectionMethod</a> — ReflectionMethod 类<ul class="chunklist chunklist_book chunklist_children"><li><a href="reflectionmethod.construct.html">ReflectionMethod::__construct</a> — 构造 ReflectionMethod</li><li><a href="reflectionmethod.export.html">ReflectionMethod::export</a> — 导出 reflection 方法</li><li><a href="reflectionmethod.getclosure.html">ReflectionMethod::getClosure</a> — 返回动态建立的方法调用接口（译者注：可以使用这个返回值直接调用非公开方法）</li><li><a href="reflectionmethod.getdeclaringclass.html">ReflectionMethod::getDeclaringClass</a> — 获取被反射的方法所在类的反射实例</li><li><a href="reflectionmethod.getmodifiers.html">ReflectionMethod::getModifiers</a> — 获取方法的修饰符</li><li><a href="reflectionmethod.getprototype.html">ReflectionMethod::getPrototype</a> — 返回方法原型 (如果存在)</li><li><a href="reflectionmethod.hasprototype.html">ReflectionMethod::hasPrototype</a> — Returns whether a method has a prototype</li><li><a href="reflectionmethod.invoke.html">ReflectionMethod::invoke</a> — Invoke</li><li><a href="reflectionmethod.invokeargs.html">ReflectionMethod::invokeArgs</a> — 带参数执行</li><li><a href="reflectionmethod.isabstract.html">ReflectionMethod::isAbstract</a> — 判断方法是否是抽象方法</li><li><a href="reflectionmethod.isconstructor.html">ReflectionMethod::isConstructor</a> — 判断方法是否是构造方法</li><li><a href="reflectionmethod.isdestructor.html">ReflectionMethod::isDestructor</a> — 判断方法是否是析构方法</li><li><a href="reflectionmethod.isfinal.html">ReflectionMethod::isFinal</a> — 判断方法是否定义 final</li><li><a href="reflectionmethod.isprivate.html">ReflectionMethod::isPrivate</a> — 判断方法是否是私有</li><li><a href="reflectionmethod.isprotected.html">ReflectionMethod::isProtected</a> — 判断方法是否是保护方法 (protected)</li><li><a href="reflectionmethod.ispublic.html">ReflectionMethod::isPublic</a> — 判断方法是否是公开方法</li><li><a href="reflectionmethod.isstatic.html">ReflectionMethod::isStatic</a> — 判断方法是否是静态方法</li><li><a href="reflectionmethod.setaccessible.html">ReflectionMethod::setAccessible</a> — 设置方法是否可访问</li><li><a href="reflectionmethod.tostring.html">ReflectionMethod::__toString</a> — 返回反射方法对象的字符串表达</li></ul></li><li><a href="class.reflectionnamedtype.html">ReflectionNamedType</a> — ReflectionNamedType 类<ul class="chunklist chunklist_book chunklist_children"><li><a href="reflectionnamedtype.getname.html">ReflectionNamedType::getName</a> — 以字符串形式获取类型的名称</li><li><a href="reflectionnamedtype.isbuiltin.html">ReflectionNamedType::isBuiltin</a> — 检查它是否是内置类型</li></ul></li><li><a href="class.reflectionobject.html">ReflectionObject</a> — ReflectionObject 类<ul class="chunklist chunklist_book chunklist_children"><li><a href="reflectionobject.construct.html">ReflectionObject::__construct</a> — Constructs a ReflectionObject</li><li><a href="reflectionobject.export.html">ReflectionObject::export</a> — Export</li></ul></li><li><a href="class.reflectionparameter.html">ReflectionParameter</a> — ReflectionParameter 类<ul class="chunklist chunklist_book chunklist_children"><li><a href="reflectionparameter.allowsnull.html">ReflectionParameter::allowsNull</a> — Checks if null is allowed</li><li><a href="reflectionparameter.canbepassedbyvalue.html">ReflectionParameter::canBePassedByValue</a> — Returns whether this parameter can be passed by value</li><li><a href="reflectionparameter.clone.html">ReflectionParameter::__clone</a> — Clone</li><li><a href="reflectionparameter.construct.html">ReflectionParameter::__construct</a> — Construct</li><li><a href="reflectionparameter.export.html">ReflectionParameter::export</a> — Exports</li><li><a href="reflectionparameter.getattributes.html">ReflectionParameter::getAttributes</a> — Gets Attributes</li><li><a href="reflectionparameter.getclass.html">ReflectionParameter::getClass</a> — 获取参数的 ReflectionClass 对象或为 null</li><li><a href="reflectionparameter.getdeclaringclass.html">ReflectionParameter::getDeclaringClass</a> — Gets declaring class</li><li><a href="reflectionparameter.getdeclaringfunction.html">ReflectionParameter::getDeclaringFunction</a> — Gets declaring function</li><li><a href="reflectionparameter.getdefaultvalue.html">ReflectionParameter::getDefaultValue</a> — Gets default parameter value</li><li><a href="reflectionparameter.getdefaultvalueconstantname.html">ReflectionParameter::getDefaultValueConstantName</a> — Returns the default value's constant name if default value is constant or null</li><li><a href="reflectionparameter.getname.html">ReflectionParameter::getName</a> — Gets parameter name</li><li><a href="reflectionparameter.getposition.html">ReflectionParameter::getPosition</a> — Gets parameter position</li><li><a href="reflectionparameter.gettype.html">ReflectionParameter::getType</a> — Gets a parameter's type</li><li><a href="reflectionparameter.hastype.html">ReflectionParameter::hasType</a> — Checks if parameter has a type</li><li><a href="reflectionparameter.isarray.html">ReflectionParameter::isArray</a> — Checks if parameter expects an array</li><li><a href="reflectionparameter.iscallable.html">ReflectionParameter::isCallable</a> — Returns whether parameter MUST be callable</li><li><a href="reflectionparameter.isdefaultvalueavailable.html">ReflectionParameter::isDefaultValueAvailable</a> — 检查默认是否可用</li><li><a href="reflectionparameter.isdefaultvalueconstant.html">ReflectionParameter::isDefaultValueConstant</a> — Returns whether the default value of this parameter is a constant</li><li><a href="reflectionparameter.isoptional.html">ReflectionParameter::isOptional</a> — Checks if optional</li><li><a href="reflectionparameter.ispassedbyreference.html">ReflectionParameter::isPassedByReference</a> — Checks if passed by reference</li><li><a href="reflectionparameter.isvariadic.html">ReflectionParameter::isVariadic</a> — Checks if the parameter is variadic</li><li><a href="reflectionparameter.tostring.html">ReflectionParameter::__toString</a> — To string</li></ul></li><li><a href="class.reflectionproperty.html">ReflectionProperty</a> — ReflectionProperty 类<ul class="chunklist chunklist_book chunklist_children"><li><a href="reflectionproperty.clone.html">ReflectionProperty::__clone</a> — Clone</li><li><a href="reflectionproperty.construct.html">ReflectionProperty::__construct</a> — Construct a ReflectionProperty object</li><li><a href="reflectionproperty.export.html">ReflectionProperty::export</a> — Export</li><li><a href="reflectionproperty.getattributes.html">ReflectionProperty::getAttributes</a> — Gets Attributes</li><li><a href="reflectionproperty.getdeclaringclass.html">ReflectionProperty::getDeclaringClass</a> — Gets declaring class</li><li><a href="reflectionproperty.getdefaultvalue.html">ReflectionProperty::getDefaultValue</a> — Returns the default value declared for a property</li><li><a href="reflectionproperty.getdoccomment.html">ReflectionProperty::getDocComment</a> — Gets the property doc comment</li><li><a href="reflectionproperty.getmodifiers.html">ReflectionProperty::getModifiers</a> — Gets the property modifiers</li><li><a href="reflectionproperty.getname.html">ReflectionProperty::getName</a> — Gets property name</li><li><a href="reflectionproperty.gettype.html">ReflectionProperty::getType</a> — Gets a property's type</li><li><a href="reflectionproperty.getvalue.html">ReflectionProperty::getValue</a> — Gets value</li><li><a href="reflectionproperty.hasdefaultvalue.html">ReflectionProperty::hasDefaultValue</a> — Checks if property has a default value declared</li><li><a href="reflectionproperty.hastype.html">ReflectionProperty::hasType</a> — Checks if property has a type</li><li><a href="reflectionproperty.isdefault.html">ReflectionProperty::isDefault</a> — Checks if property is a default property</li><li><a href="reflectionproperty.isinitialized.html">ReflectionProperty::isInitialized</a> — Checks whether a property is initialized</li><li><a href="reflectionproperty.isprivate.html">ReflectionProperty::isPrivate</a> — Checks if property is private</li><li><a href="reflectionproperty.ispromoted.html">ReflectionProperty::isPromoted</a> — Checks if property is promoted</li><li><a href="reflectionproperty.isprotected.html">ReflectionProperty::isProtected</a> — Checks if property is protected</li><li><a href="reflectionproperty.ispublic.html">ReflectionProperty::isPublic</a> — Checks if property is public</li><li><a href="reflectionproperty.isreadonly.html">ReflectionProperty::isReadOnly</a> — 检查属性是否为只读</li><li><a href="reflectionproperty.isstatic.html">ReflectionProperty::isStatic</a> — Checks if property is static</li><li><a href="reflectionproperty.setaccessible.html">ReflectionProperty::setAccessible</a> — Set property accessibility</li><li><a href="reflectionproperty.setvalue.html">ReflectionProperty::setValue</a> — Set property value</li><li><a href="reflectionproperty.tostring.html">ReflectionProperty::__toString</a> — To string</li></ul></li><li><a href="class.reflectiontype.html">ReflectionType</a> — ReflectionType 类<ul class="chunklist chunklist_book chunklist_children"><li><a href="reflectiontype.allowsnull.html">ReflectionType::allowsNull</a> — Checks if null is allowed</li><li><a href="reflectiontype.tostring.html">ReflectionType::__toString</a> — To string</li></ul></li><li><a href="class.reflectionuniontype.html">ReflectionUnionType</a> — ReflectionUnionType 类<ul class="chunklist chunklist_book chunklist_children"><li><a href="reflectionuniontype.gettypes.html">ReflectionUnionType::getTypes</a> — 返回联合类型中包含的类型</li></ul></li><li><a href="class.reflectiongenerator.html">ReflectionGenerator</a> — ReflectionGenerator 类<ul class="chunklist chunklist_book chunklist_children"><li><a href="reflectiongenerator.construct.html">ReflectionGenerator::__construct</a> — Constructs a ReflectionGenerator object</li><li><a href="reflectiongenerator.getexecutingfile.html">ReflectionGenerator::getExecutingFile</a> — Gets the file name of the currently executing generator</li><li><a href="reflectiongenerator.getexecutinggenerator.html">ReflectionGenerator::getExecutingGenerator</a> — Gets the executing Generator object</li><li><a href="reflectiongenerator.getexecutingline.html">ReflectionGenerator::getExecutingLine</a> — Gets the currently executing line of the generator</li><li><a href="reflectiongenerator.getfunction.html">ReflectionGenerator::getFunction</a> — Gets the function name of the generator</li><li><a href="reflectiongenerator.getthis.html">ReflectionGenerator::getThis</a> — Gets the $this value of the generator</li><li><a href="reflectiongenerator.gettrace.html">ReflectionGenerator::getTrace</a> — Gets the trace of the executing generator</li></ul></li><li><a href="class.reflectionfiber.html">ReflectionFiber</a> — ReflectionFiber 类<ul class="chunklist chunklist_book chunklist_children"><li><a href="reflectionfiber.construct.html">ReflectionFiber::__construct</a> — Constructs a ReflectionFiber object</li><li><a href="reflectionfiber.getcallable.html">ReflectionFiber::getCallable</a> — Gets the callable used to create the Fiber</li><li><a href="reflectionfiber.getexecutingfile.html">ReflectionFiber::getExecutingFile</a> — Get the file name of the current execution point</li><li><a href="reflectionfiber.getexecutingline.html">ReflectionFiber::getExecutingLine</a> — Get the line number of the current execution point</li><li><a href="reflectionfiber.getfiber.html">ReflectionFiber::getFiber</a> — Get the reflected Fiber instance</li><li><a href="reflectionfiber.gettrace.html">ReflectionFiber::getTrace</a> — Get the backtrace of the current execution point</li></ul></li><li><a href="class.reflectionintersectiontype.html">ReflectionIntersectionType</a> — ReflectionIntersectionType 类<ul class="chunklist chunklist_book chunklist_children"><li><a href="reflectionintersectiontype.gettypes.html">ReflectionIntersectionType::getTypes</a> — 返回包含在交集类型中的类型</li></ul></li><li><a href="class.reflectionreference.html">ReflectionReference</a> — ReflectionReference 类<ul class="chunklist chunklist_book chunklist_children"><li><a href="reflectionreference.construct.html">ReflectionReference::__construct</a> — 私有构造函数以禁用直接实例化</li><li><a href="reflectionreference.fromarrayelement.html">ReflectionReference::fromArrayElement</a> — 从数组元素创建一个 ReflectionReference</li><li><a href="reflectionreference.getid.html">ReflectionReference::getId</a> — 获取引用的唯一 ID</li></ul></li><li><a href="class.reflectionattribute.html">ReflectionAttribute</a> — ReflectionAttribute 类<ul class="chunklist chunklist_book chunklist_children"><li><a href="reflectionattribute.construct.html">ReflectionAttribute::__construct</a> — 禁止直接实例化的私有构造函数</li><li><a href="reflectionattribute.getarguments.html">ReflectionAttribute::getArguments</a> — 获取传递给属性的参数</li><li><a href="reflectionattribute.getname.html">ReflectionAttribute::getName</a> — 获取属性名称</li><li><a href="reflectionattribute.gettarget.html">ReflectionAttribute::getTarget</a> — 返回属性的目标位掩码</li><li><a href="reflectionattribute.isrepeated.html">ReflectionAttribute::isRepeated</a> — 返回该名称的属性是否已重复出现在代码元素上</li><li><a href="reflectionattribute.newinstance.html">ReflectionAttribute::newInstance</a> — 实例化由 ReflectionAttribute 类和参数表示的属性类</li></ul></li><li><a href="class.reflector.html">Reflector</a> — Reflector 接口<ul class="chunklist chunklist_book chunklist_children"><li><a href="reflector.export.html">Reflector::export</a> — Exports</li><li><a href="reflector.tostring.html">Reflector::__toString</a> — 转化成字符串</li></ul></li><li><a href="class.reflectionexception.html">ReflectionException</a> — ReflectionException 类</li></ul></div></div></div></body></html>